package com.doordu.soa.service.data.vo;

import java.io.Serializable;

import com.doordu.soa.service.web.annotation.DataValid;
import com.doordu.soa.service.web.em.RegexType;

import io.swagger.annotations.ApiModelProperty;

/**
 * 查询vo
 * 
 * @ClassName: QuerySyncLogVo
 * @Description:
 * @author xiaoqun.yi yixq@doordu.com
 * @date 2017年9月11日 下午2:38:00
 * @version V1.0
 */
public class QuerySyncLogVo implements Serializable {

	/**
	 * @Fields serialVersionUID :
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(hidden = true)
	private Integer companyId;

	@DataValid(description = "访问令牌", maxLength = 50, nullable = false, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "访问令牌(50)", notes = "访问令牌(50)", required = true, dataType = "string")
	private String accessToken;

	@DataValid(description = "查询开始时间", maxLength = 50, nullable = false, regexType = RegexType.DATE_YYYY_MM_DD_HH_MM_SS)
	@ApiModelProperty(value = "查询开始时间(日期格式 yyyy-MM-dd HH:MM:SS)", notes = "查询开始时间(日期格式 yyyy-MM-dd HH:MM:SS)", required = true, dataType = "string")
	private String beginTime;

	@DataValid(description = "查询结束时间", maxLength = 50, nullable = false, regexType = RegexType.DATE_YYYY_MM_DD_HH_MM_SS)
	@ApiModelProperty(value = "查询结束时间(日期格式 yyyy-MM-dd HH:MM:SS)", notes = "查询开始时间(日期格式 yyyy-MM-dd HH:MM:SS)", required = true, dataType = "string")
	private String endTime;

	@DataValid(description = "接口名称", maxLength = 50, nullable = false)
	@ApiModelProperty(value = "接口名称(50)", notes = "接口名称(50)", required = true, dataType = "string")
	private String serviceMethod;

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getServiceMethod() {
		return serviceMethod;
	}

	public void setServiceMethod(String serviceMethod) {
		this.serviceMethod = serviceMethod;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

}
